package git.soulbgm.pojo;

import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 监控客户端状态表
 *
 * @author SoulBGM
 * @date 2020-11-18 10:03:05
 */
public class NodeStatus {

    /**
     * ID
     */
    private Long id;

    /**
     * 节点/设备编号
     */
    @Excel(name = "主机编号", type = 10)
    private Integer nodeCode;

    /**
     * IP地址
     */
    @Excel(name = "IP地址")
    private String deployIp;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间", format = "yyyy-MM-dd HH:mm:ss")
    private Date detectionTime;

    /**
     * 区域编号 0代表不区分区域 其他为自定义
     */
    @Excel(name = "区域编号")
    private Integer regionCode;

    /**
     * 状态 0 未启动 1 正常 2 启动中 3 停止中
     */
    @Excel(name = "状态", replace = {"未启动_0", "正常_1", "启动中_2", "停止中_3"})
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(Integer nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getDeployIp() {
        return deployIp;
    }

    public void setDeployIp(String deployIp) {
        this.deployIp = deployIp;
    }

    public Date getDetectionTime() {
        return detectionTime;
    }

    public void setDetectionTime(Date detectionTime) {
        this.detectionTime = detectionTime;
    }

    public Integer getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(Integer regionCode) {
        this.regionCode = regionCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}